package com.lywz.biz.dao.city;

import java.util.Collection;

import com.lywz.biz.common.entity.city.CityEntertainment;
import com.lywz.biz.common.entity.city.CityInfo;
import com.lywz.biz.common.entity.city.CityTourismOrganization;
import com.lywz.biz.common.entity.city.CityTraffic;

/**
 * 城市相关信息Dao
 * 
 * @author zhouxc may
 * @date 2010-4-30
 * @tag
 */
public interface CityDao {

    /**
     * 返回城市的基本信息
     * 
     * @return
     */
    public Collection<CityInfo> getOverview() throws Exception;

    /**
     * 由城市Id 获得市内旅游机构
     * 
     * @return
     * @throws Exception
     */
    public Collection<CityTourismOrganization> getInsideOrgByCityId(Short cityId) throws Exception;

    /**
     * 由城市Id获得市外区县旅游机构
     * 
     * @return
     * @throws Exception
     */
    public Collection<CityTourismOrganization> getOutsideOrgByCityId(Short cityId) throws Exception;

    /**
     * 获得所有城市的所有交通信息
     */
    public Collection<CityTraffic> getCityTrafficList() throws Exception;

    /**
     * 由cityId獲得城市交通信息
     * 
     * @param cityId
     * @return
     * @throws Exception
     */
    public CityTraffic getOneCityTrafficByCityId(Short cityId) throws Exception;
    /**
     * 由城市ID获得城市娱乐信息
     * @param cityId
     * @return
     * @throws Exception
     */
    public CityEntertainment getCityEntertainmentByCityId(Short cityId) throws Exception;
    /**
     * 获得都市娱乐信息列表
     * @return
     * @throws Exception
     */
    public Collection<CityEntertainment> getCityEntertainmentList() throws Exception;
}
